BFS 404
fixes for kernel to compile with BFS