Convert functions working in debug
fix