fix decl after statement