validation error fixed