buggy nick registering function