Fixed errors

Fixed the errors