fixed publishing problem and added refs