fix for cast page