fixed adding problems