Fixed refactored item_by_params.
Fixed route manager match item and cleaned up error messages.