is this helps?

fixes #6 i think :paw_prints: 

Signed-off-by: Antes <antes@simplemachines.org>