Fix queue file