fixed CHARACTER'space' bug