removed print statement from api views