remove parameter from error, it is not needed