Thank you page not completing properly