action, model: add ASSERT(), not NULL checks