fixed error call (30 and 31)