fixed bug - bug in rails????