fixed minor bug in earlier chekcin