improve coffee code style
1.0.19
handle properly deletion based on request with params