bugfix
added ifset and ifnull functions