Fixed some issues with parameters