fixed free param checking