change use prefix method and complete view and fix some models