fixed mixed up class type for response