changed double warning