remove warnings

close #4