fix classdecl position