wrong place of errors functions