Edited debug bug