type casting fixed