fix uploads model sti issue
fix views for spree core 1.3.2