fixed adding to wrong place