updated foundation, background fixes