unexpected error fixed