fixed rails bug