properly inherit params