fixed typo in returned dictionary