[FIXED] Error in cast from Object to Double.