fix release mechanism