Fixes socramob/Agora/#23

Fixes https://github.com/socramob/Agora/issues/23