Remove trailing quotes from postactivate