trying fix bug