fix issue related with checkbox initialisation