bug in let_class