changed debug for remote