Fix #1213
Signed-off-by:KProvance <kevin.provance@gmail.com>