bug fix: nilclass exception in user#statement