attempt 5 to fix bug