fixes queue for realiasing