fix #79 registration fail firefox