complete button now works and retains params