big changes on views again
modify some error in migration