work onload
resources fix