fix code & slim