fixed loading ticket creation from refreshing page