corrected bugs debug and information