fixed bug in pomaze