fixing problem caused by an error by foundation/