move associations to the top