removed debug output line
fixed same silly bugs