disable some function not needed