also deletet api stuff from views