fix rabl code