Corrected errors that were causing spout to fail