fixed weird layout bug