Fixes bug
A hash was being returned, which
was not intended