minor edit to check for registration bug