fixing weird problems