incorrect mapping of parameter as id