add emp refunding, code coverage fix