fix comiple warning