fix
fix primary key
fix stricts
add redirect404 method