bugfix to function quote