small fix - write variable to console