remove type casting Double due to compilation error