disable some function useless