i think this will fix apps returning an array instead of hash