Fixed getPolicy method