cleaned up build event