trying to fix this weird rendering issue