remove extra code in handle_get