fix new entry crash
Merge pull request #256 from SevaUA/bugfix

Fixed new entry crash