Fixed a bug in crust

Signed-off-by: hajee <hajee@moretIA.com>