fixed weird sided access issue