fix  compiler and interpreter bugs