debugging fix