try to read this
http://forum.mikrotik.com/t/problem-with-script-for-no-ip-info-after-update-to-6-12/76934/12