fixed bugs of ex6_27 and ex6_28

some black space should be ignore...