update error message for wrong argument type