bug using getElementById instead of qs