fixes #24 NoneType prefix_message support