removing mode from card api