corrected a few issues with the request mapping