pyc \& case bug