added santization functions to bug report submission