add class to bring fp and bd to origin