applied the change also because the code here is different then the one at strophejs's repo