fixed right side bug