fixes before build