fixed debugging abilities