fix #723

Signed-off-by: Illori <illori@simplemachines.org>