realized that i had duplicate code and is was causing issues.