decl error fixed