This caused the publish process to crash and the variable was not used anyway, so I got rid of it...