fixed janky spaces issue