made program not exit after block grab