fix for page throwing error