move_image_to_heap
fix_cast_warnings
