Fixed bug with twice loading context