fix bug on views and setup pip project