Solved foundation problem, removed hack