fixed class reference issue in config.ru and mina issue