Fixing bug in compile function with missing quotes for strings