quick fix of registration