i think this fixes the weird stuff