grid view added and submission of plots fixed