Fixed release bugs