fixed issue 619

bug
Merge pull request #628 from safiyu/UIissue5

fixed issue 619