magic: get rid of debug print