fixes build warnings