removed debug and fixed issue (hopefully)