Fixing wrong argument tyep