still dont know where is the bug