fixed an exception

Author git <vivec@telvanni.eu>
Author date 2018-07-06 19:14:36
Author local date 2018-07-06 21:14:36 +0200
Committer git <vivec@telvanni.eu>
Committer date 2018-07-06 19:14:36
Committer local date 2018-07-06 21:14:36 +0200
Commit 6bedc5a612ff8dc5a40e15bc44996fadece13ac9
Tree 7f2b74fc2812ce2e1fd318a8e04f8ea6159a7b90
Parent 406192e757eed1e0e2005a7f7c331949333cdc49
fixed an exception