fixed long casting