fix for niceblock
fix command for encoding