user: fix exception in production