Fixed how credit page is closed