tries to fix weird rendering