extract common parameters