better compiler error messages when the views and actions are used incorrectly