params unable to pass