fix restart on space