Fixed invalid pages displaying error and removed errorring css