fixed an issue where observed script was not decoded properly