tried to get rid of error