fix bugs and enable workout rails