added completion message
fix errors