SLWCF port fix

little fix with variables