fixed some checks in the views post process