Fix spacebar after 512 issue