fixing some method.