remove not used and unfinished parameters