fixing up check