Fixed compile errors with the  thing