some smaller fixes
remove debug as dependency