trying to fix file error on bm canvas