cleaned up debug and fixed the error