a little fix with variables