fixed little bug with variables naming