handle invalid genres