fixed bug in adding starts to element at page loading