fixes #725

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