fixed warrior bugs.