Removes rails