fixing some stuff so pakmanager complains less