fixed broken resolve