made error and loading text variable