fixing creds stuff