fixing the static issue