disable some function