fixed resolve prompt