fixed cast module