this fixes some stuff