overlay fixes thanks to BigRushDog