made default params for MiddlePage