use gateway=true as query string parameter in order to improve performance