fixes a bug caused by rabl (not me ;P)