fixed error of commit 30930ef65036fd1e47d8c5aebf440ca63abfc279 that fixe...

...s #1315