add wait for addition of space