Fixed some stupid compile errors