fixed complier warning