added chekbox to advance settings