add delete function to offer page and fix bug in spot page