Initial fix for #157
fixes #159 , decls initilization