fix debug error when activate checkbox is empty
apply isset to option array