bug finaly fixed