fixed weird sidebar issue