fixed cast failure