#57 fixed bug in subscribe