better handle for get requests