added assert
Merge pull request #224 from AndreiH/added-assert-mobile

added assert