fix type; buggy blocking