A happy Adar to all!
The משנה in אבות says "הֱוֵי קַל לָרֹאשׁ", on which the רע״ב writes:
לפני אדם גדול זקן ויושב בראש בישיבה, הוי קל לעבוד עבודתו ולשמש לפניו
Thus we see that one should exercise קלות ראש in a ישיבה (i.e., בית מדרש).
Yet the גמרא in מגילה says
בתי כנסיות אין נוהגין בהן קלות ראשand we know from רב פפי (whose opinion the גמרא says makes the most sense, q.v.) that a בית מדרש is even greater than a בית כנסת, so קלות ראש is certainly forbidden in a בית מדרש!
How do we resolve this apparent contradiction?
This question is Purim Torah and is not intended to be taken completely seriously. See the Purim Torah policy.