fixing problem with empty presence