Fixed error message for id field