fixes wrong compiled code