Added error handling for invalid themes