checking if the value isnt null before triggering