fixes the bug about writing with vala i explained pancake, hopefully it ...

...fixes also issue: #1138