fix autoload issues with rails