warning fixes #2