some fixes with params