hoepfully ruby will fix this mess