fixed pointer to release