fixes bug #725

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