fixes #723

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