fraq.cpp fixed