fix for error showing page