Fix bug, forgot to delete a parameter in a method