adjust space code