fixed model.cpp referencing pplane