fixed issue with creds not carrying over