fexed another instance of assign chekc