move annotation order to remove errors