fix temp access
restore methodGetLiteral(), accidentally deleted