small changes about checking