fixed explicit conversion warning