fixed bug with values, add load events