fixed warning issue