add mod_amp
add catch for mod_offline