Fixing fatal error due wrong parameter.