fixed terraingen