fix for cast error