fixed bugs, project builds with no errors