localhost callbacks replaced