fixes error where cart controller was being called incorrectly