trying to debug ghost issue