Fixes #29 was just missing the cast to realname