Fixed hport cast stability.