solve whitespace problem