fixed warning location