add warning in documentation