Removed wrong parameter and fixed call to method