error registration fixed