Fixed CSS exception handling.