reduce warnings
fix the type of pointdata to static