Fixed the orm file for the background process