fixed incosistent error