removing some unnesessary parameters to profile