Fixed misplaced paramaters