error messages and sidebar done