you should handle invalid styles